package cn.com.eado.crm.m.db

import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverter
import androidx.room.TypeConverters
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken

/**
 * 企业信息和设计院信息合并一个类
 */
@Entity(tableName = "enterprise_info")
data class EnterpriseInfo(
    @PrimaryKey(autoGenerate = true)
    val id: Int,
    var userId: Int,

    val profession: String,
    val professionType: String,
    val group: String,
    val department: String,
    val properties: String,
    val province: String,
    val city: String,
    val area: String,
    val address: String,
    val salesperson: String,
    val lastTrackDate: String,
    val trackTimes: Int,
    val unFollowDays: Int,
    val baoBeiTimes: Int,
    val isLargeEnterprise: Boolean
)